<template>
	<!--  <el-input :value="$attrs.row[field]" v-if="$attrs.row[field]">
    <el-button slot="append" icon="el-icon-link" @click="hrefto($attrs.row[field])"/>
  </el-input> -->
	<div style="width: 120px;">

		<el-button :type="options[0].type" size="mini" width="120" @click="ff(options[0].ff)">{{$attrs.row[field]}}</el-button>

	</div> 
</template>

<script>
	export default {
		name: "tag",
		props: {
			options: {
				value: Array,
				default () {
					return []
				}
			},
			field: {
				value: String,
				default () {
					return '';
				}
			},
			// type: {
			//   value: String,
			//   default() {
			//     return '';
			//   }
			// }
			

		},
		
		methods:{
			ff(e){
				console.log(e)
				$emit('')
			}
		}

	}
</script>

<style scoped>

</style>